const DEFAULT_IMG_MAP = {
  1: require('@/assets/i/wap/course/vip.png'),
  5: require('@/assets/defult270.png'),
  8: require('@/assets/i/wap/datum/datumsDefault.png'),
  11: require('@/assets/examination_defult.png'), //测评
  23: require('@/assets/i/wap/course/svip.png'),
  25: require('@/assets/defult270.png'),
  27: require('@/assets/i/wap/course/vip.png'),
  28: require('@/assets/i/wap/course/svip.png'),
  31: require('@/assets/i/wap/course/vip.png'),
  32: require('@/assets/i/wap/course/svip.png'),
  42: require('@/assets/agentApply.png'),
  43: require('@/assets/agentApply.png'),
  44: require('@/assets/agentApply.png'),
  138: require('@/assets/agentApply.png'),
  139: require('@/assets/agentApply.png'),
  160: require('@/assets/agentApply.png'),
  161: require('@/assets/agentApply.png'),
  162: require('@/assets/agentApply.png'),
  163: require('@/assets/agentApply.png'),
  183: require('@/assets/shareholderApply.png'), //升级股东
  190: require('@/assets/i/wap/giftCard/gift_card_icon.png'),
  200: require('@/assets/shareholderPayVoucher.png') //股东付费抵用券
};
//商城，社群，电子书图片比例1:1
const EQUAL_SCALE_IMG_TYPE = ['12', '10'];
const MARKETING_TYPE_MAP = {
  1: '限时购',
  2: '拼团',
  12: '砍价',
  22: '团购',
  19: '推荐有礼'
};
const PROD_TYPE_MAP = {
  1: 'VIP',
  2: 'VIP',
  3: 'VIP2',
  4: 'SVIP',
  5: '课程',
  6: '分类',
  7: '活动',
  8: '资料',
  9: '专栏',
  10: '社群',
  11: '测评',
  12: '商城',
  13: '独立商城',
  15: '问答',
  16: '付费问答',
  17: '问答围观',
  20: '余额利息',
  22: 'VIP2',
  23: 'SVIP',
  24: '专栏',
  25: '课程',
  26: '专栏',
  27: 'VIP',
  28: 'SVIP',
  29: '专栏',
  30: '课程',
  31: 'VIP',
  32: 'SVIP',
  33: '社群打赏',
  35: '直播打赏',
  37: '代理商赠送（兑换码兑换）课程',
  38: '代理商赠送（兑换码兑换）专栏',
  41: '打卡',
  42: '服务商',
  43: '服务商',
  44: '服务商',
  48: '拼团知识套餐',
  138: '服务商',
  139: '服务商',
  160: '服务商',
  161: '服务商',
  162: '服务商',
  163: '服务商',
  51: '直播',
  53: '约课',
  56: '词典',
  61: '知识套餐',
  62: '知识套餐',
  66: '课程',
  67: '专栏',
  68: 'VIP',
  69: 'SVIP',
  70: '知识套餐',
  71: '测评',
  72: '直播',
  73: 'VIP',
  74: 'SVIP',
  75: '互动测评',
  201: '互动测评',
  76: '表单',
  77: 'AI.测评',
  78: '训练营',
  86: '预约',
  91: '代理商赠送（兑换码兑换）训练营',
  100: '充值余额',
  103: '内容市场',
  104: '内容拼团',
  110: '视频',
  111: '音频',
  112: '图文',
  115: '小班课',
  116: '面授课',
  125: '考试',
  124: '直播',
  129: '练习',
  142: '电子书',
  145: '电子书',
  146: '训练营',
  178: '投票赠礼',
  180: '直播间',
  181: '圈子',
  183: '升级股东',
  185: '主题圈子',
  187: '席位费',
  8083: '电子书',
  8084: '小班课',
  9010: '社群',
  9044: '电子书',
  9045: '直播间',
  5000: '有价优惠券'
};
const MESSAGE_TYPE_MAP = {
  TEXT: 1,
  IMAGE: 2,
  AUDIO: 3,
  VIDEO: 4,
  DISABLE_GROUP_SPEAK: 11,
  DISABLE_GROUP_AUDIO: 12,
  DISABLE_PERSON_SPEAK: 13,
  ENABLE_PERSON_SPEAK: 14,
  SPREAD_JION_GROUP: 15,
  REVOKE_MESSAGE: 16,
  JOIN_GROUP: 17,
  QUESTION_TEXT: 18,
  ANSWER_TEXT: 19,
  ANSWER_IMAGE: 20,
  ANSWER_AUDIO: 21,
  REWORD_MONEY: 22,
  START_LIVE: 23,
  END_LIVE: 24,
  LIVE_REVIEW_OVER: 25,
  LESSON_GUIDE: 26,
  END_LIVE_TIP: 27,
  RESET_PUSH_PWD: 28,
  SOURCE_VIDEO: 31,
  SOURCE_AUDIO: 32,
  SOURCE_ARTICLE: 33,
  SOURCE_COLUMN: 34,
  SOURCE_EXAM: 35,
  SOURCE_ACTIVITY: 36,
  SOURCE_CLOCKIN: 37,
  REMOVE_PERSON_GROUP: 64,
  CLEAR_GROUP_NOTICE: 65,
  GROUP_NOTICE: 66,
  PPT_AUDIO: 68,
  RECOMMEND: 70,
  RESUME_PERSON_GROUP: 71,
  PEOPLE_NUM_UPDATE: 72,
  REWORD_GIFT: 73,
  BUYED_RECOMMEND: 74,
  BUYING_RECOMMEND: 75,
  AT_TEXT: 76,
  LOCAL_IMAGE: 110,
  LOCAL_AUDIO: 120,
  UPLOAD_PDF_SUCCESS: 200,
  STOP_PUSH: 201,
  RESUME_PUSH: 202,
  UPLOAD_PDF_FAIL: 203,
  INVITE_USER_LINK: 204,
  USER_REJECT_LINK: 205,
  USER_APPLY_LINK: 206,
  TEACHER_AGREE_LINK: 207,
  USER_JOIN_LINK: 208,
  USER_OPEN_CALL: 209,
  USER_CLOSE_CALL: 210,
  USER_CALL_OFFLINE: 211,
  USER_APPLY_FAILURE: 212,
  INVITE_USER_FAILURE: 213,
  SEND_TURNTABLE: 250,
  RECEIVE_TURNTABLE: 251,
  END_TURNTABLE: 252,
  END_TURNTABLEALL: 253,
  GRASP_MIC: 260,
  LUCKYDRAW_ALL_CLOSE: 270, //幸运抽奖全局关闭
  LUCKYDRAW_START: 271, //幸运抽奖发布
  LUCKYDRAW_OPEN: 272, //幸运抽奖开奖
  LUCKYDRAW_CANCEL: 273, //幸运抽奖取消
  IS_ALLOW_LINK: 2000,
  CANCEL_UP_SCREEN: 5551,
  APPLY_UP_SCREEN: 5552,
  SET_ALLOW_HAND: 5553,
  AUDIO_IMAGE_CHANGE: 5555,
  VIDEO_PDF_CHANGE: 5556,
  CHANGE_SCREEN_LIST: 5557,
  SET_LARGE_USER: 5999
};
const BARGAIN_PROD_TYPE_MAP = {
  1: '砍价购VIP',
  5: '砍价购课程',
  7: '砍价活动',
  9: '砍价购专栏',
  10: '砍价社群',
  23: '砍价购SVIP',
  41: '砍价打卡',
  51: '砍价购直播',
  180: '砍价购直播间',
  61: '砍价知识套餐',
  75: '砍价互动测评',
  77: '砍价AI测评',
  78: '砍价训练营',
  115: '砍价购小班直播',
  142: '砍价电子书',
  129: '砍价练习',
  8: '砍价资料'
};
const SALES_PROD_TYPE_MAP = {
  1: 'VIP限时购',
  5: '课程限时购',
  7: '活动限时购',
  8: '资料限时购',
  9: '专栏限时购',
  10: '社群限时购',
  11: '测评限时购',
  23: 'SVIP限时购',
  25: '限时购课程',
  26: '限时购专栏',
  41: '打卡限时购',
  51: '直播限时购',
  53: '约课限时购',
  61: '知识套餐限时购',
  62: '限时购知识套餐',
  75: '互动测评限时购',
  77: 'AI测评限时购',
  78: '训练营限时购',
  115: '小班直播限时购',
  116: '面授课限时购',
  125: '考试限时购',
  129: '练习限时购',
  142: '电子书限时购',
  180: '直播间限时购'
};
const COLLAGE_PROD_TYPE_MAP = {
  1: 'VIP拼团',
  5: '课程拼团',
  7: '活动拼团',
  9: '专栏拼团',
  10: '社群拼团',
  23: 'SVIP拼团',
  41: '打卡拼团',
  51: '直播拼团',
  61: '知识套餐拼团',
  78: '训练营拼团',
  103: '内容拼团',
  116: '面授课拼团',
  129: '练习拼团',
  142: '电子书拼团',
  180: '直播间拼团'
};
const GROUP_PURCHASE_PROD_TYPE_MAP = {
  5: '团购课程',
  9: '团购专栏',
  1: '团购VIP',
  23: '团购SVIP',
  61: '团购知识套餐'
};
const DAN_MU_TYPE_MAP = {
  2: '图片',
  3: '语音',
  4: '视频',
  20: '图片',
  21: '语音',
  31: '资源',
  32: '资源',
  33: '资源',
  34: '资源',
  35: '资源',
  36: '资源',
  37: '资源',
  70: '好物'
};
const ADD_LOCAL_MSG_TYPE = [1, 2, 3, 4, 11, 18, 19, 20, 21, 22, 31, 32, 33, 34, 35, 36, 37, 66, 68, 70, 73, 76];
const CHAT_LIST_MSG_TYPE = [1, 2, 3, 4, 11, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 24, 31, 32, 33, 34, 35, 36, 37, 64, 65, 66, 68, 70, 71, 73, 74, 75, 76, 80, 81]; //聊天区显示消息类型
const LIVE_STATUS_MAP = {
  '0': '直播即将开始',
  '1': '直播中',
  '2': '已结束',
  '3': '已结束'
};

const INTEGRAL_INCOME_TYPE_MAP = {
  '-1': '积分过期',
  0: '年底清算',
  1: '分享视频',
  2: '观看视频',
  3: '分享音频',
  4: '观看音频',
  5: '分享完成注册',
  6: '签到',
  7: '连续签到',
  8: '使用',
  9: '回退',
  10: '抵扣',
  11: '返还',
  12: '系统赠送',
  14: '分享图文',
  15: '积分分成',
  16: '购买课程',
  17: '买赠课程',
  18: '购买专栏',
  19: '买赠专栏',
  20: '购买测评',
  21: '购买套餐',
  22: '买赠套餐',
  23: '购买社群',
  24: '购买活动',
  25: '购买直播',
  26: '购买VIP',
  27: '买赠VIP',
  28: '购买SVIP',
  29: '买赠SVIP',
  30: '购买资料',
  41: '学习训练营',
  42: '学习训练营',
  43: '打卡支付积分',
  44: '完成单次打卡',
  45: '完成打卡课程',
  46: '积分赠送',
  47: '测评闯关奖励',
  48: '商城退款',
  49: '预约退回',
  50: '推荐礼包',
  51: '分享知识套餐',
  52: '分享专栏',
  53: '分享直播',
  54: '观看直播',
  55: '绑定手机',
  56: '分享课程（每日）',
  57: '分享知识套餐（每日）',
  58: '分享专栏（每日）',
  59: '分享直播（每日）',
  60: '观看课程（次数）',
  61: '观看直播（次数）',
  62: '阅读图文（时长）',
  63: '视听学习（时长）',
  65: '积分商城兑换',
  66: '小班课奖励',
  67: '交易失败回退',
  68: '中奖获得',
  69: '抽奖消耗',
  70: '参与调研表单',
  71: '笔数消费任务',
  72: '金额消费任务',
  73: '消费任务退款返还',
  74: '直播抽奖消耗',
  75: '直播抽奖奖励',
  76: '直播福利奖励',
  77: '满减奖励积分',
  78: '商品积分抵扣退还',
  79: '收回赠送积分',
  80: '直播邀请奖励',
  85: '手动调整积分',
  86: '预约',
  81: '训练营考试奖励',
  82: '直播抽奖奖励',
  84: '完成通用消费任务',
  87: '直接推广收益',
  88: '间接推广收益',
  89: '间接推广收益',
  90: '服务商自购分佣',
  91: '服务商自购分佣',
  92: '服务商自购分佣',
  93: '圈子邀请新人',
  94: '圈子动态获精选',
  95: '圈子动态获他人点赞',
  96: '圈子动态获他人评论',
  97: '圈子发布评论',
  98: '圈子点赞动态',
  99: '圈子发布动态',
  100: '订单退款'
};
//产品类型映射表单关联类型 考试取11，测评专题取12, 1图文，2.音频，3视频，4专栏，5打卡，6训练营，7活动，8.只是套餐，9直播, 13资料 vip 14   svip 15
const FORM_RELTYPE_MAP = {
  '5-2': 1,
  '5-1': 2,
  '5-0': 3,
  75: 11,
  125: 11,
  9: 4,
  11: 12,
  41: 5,
  78: 6,
  7: 7,
  61: 8,
  51: 9,
  8: 13,
  1: 14,
  23: 15,
  10: 16,
  180: 20
};
const COUPON_SCOPE_MAP = {
  //优惠券指定产品类型可用
  '37': '课程',
  '38': '专栏',
  '91': '训练营',
  '45': '知识套餐',
  '106': '资料',
  '144': '电子书',
  '94': '社群',
  '99': '活动',
  '85': '测评',
  '140': '考试',
  '141': '练习',
  '88': '互动测评',
  '89': 'AI.测评',
  '95': '公开课',
  '122': '小班课',
  '184': '直播间',
  '181': '圈子',
  '145': '问答',
  '114': '预约师资'
};
const PLAY_TYPE_ICON_MAP = {
  0: 'icon-danjiebofang2',
  1: 'icon-shunxubofang3',
  2: 'icon-danjiexunhuan'
};
const PLAY_TYPE_NAME_MAP = {
  0: '单节播放',
  1: '顺序播放',
  2: '单节循环'
};
const MARKETING_TYPE_NAME_MAP = {
  2: '拼团',
  4: '赠送好友',
  8: '限时购',
  16: '好友助力',
  32: '兑换码',
  // 64: '优惠券',
  128: '涨粉神器',
  256: '亲情卡',
  // 512: '身份折扣',
  1024: '积分兑换',
  2048: '大转盘',
  4096: '砍价',
  // 8192: '支付有礼',
  16384: '直播抽奖',
  32768: '直播福利',
  65536: '活动投票赠礼',
  131072: '直播邀请奖励',
  // 262144: '满减送',
  // 524288: '实物带货订单',
  1048576: '团购',
  // 2097152: '续费',
  4194304: '推荐有礼',
  8388608: '赠送礼包',
  // 16777216:  '链动身份折扣',
  268435456: '直播预约奖励',
  67108864: '预售',
  134217728: '搭配购',
  // 536870912: '积分抵现',
};
const LOAD_STATUS_ENUM = {
  LOADING: 'LOADING',
  HAS_MORE_DATA: 'HAS_MORE_DATA',
  NO_DATA: 'NO_DATA',
  NO_MORE_DATA: 'NO_MORE_DATA',
  DATA_ERROR: 'DATA_ERROR'
};
export {
  DEFAULT_IMG_MAP,
  EQUAL_SCALE_IMG_TYPE,
  MARKETING_TYPE_MAP,
  PROD_TYPE_MAP,
  MESSAGE_TYPE_MAP,
  BARGAIN_PROD_TYPE_MAP,
  SALES_PROD_TYPE_MAP,
  COLLAGE_PROD_TYPE_MAP,
  GROUP_PURCHASE_PROD_TYPE_MAP,
  DAN_MU_TYPE_MAP,
  ADD_LOCAL_MSG_TYPE,
  CHAT_LIST_MSG_TYPE,
  LIVE_STATUS_MAP,
  INTEGRAL_INCOME_TYPE_MAP,
  FORM_RELTYPE_MAP,
  COUPON_SCOPE_MAP,
  PLAY_TYPE_ICON_MAP,
  PLAY_TYPE_NAME_MAP,
  MARKETING_TYPE_NAME_MAP,
  LOAD_STATUS_ENUM
};
